<template>
  <view id="page">
    <operate ref="operate">
      <div class="operate-btn">
        <text @tap="drawer(-1)"
              class="btn cuIcon-roundadd text-green"></text>
        <text>添加事程</text>
      </div>
    </operate>
    <swiper :album="album"></swiper>
  </view>
</template>

<script>
import swiper from "./swiper.vue"
import operate from '@/component/operate.vue'
import { r_GetContent } from "@/utils/function.js"
export default {
  components: {
    operate,
    swiper
  },
  data () {
    return {
      rid: -1,
      album: []
    }
  },
  methods: {
    getContent: function () {
      this.album = r_GetContent(this.rid, this.album)
    }
  },
  onLoad (option) {
    this.rid = option.rid
    this.getContent()
  },
}
</script>

<style lang="scss" scoped>
</style>
